/**
 * 
 * @constructor
 * @param {Number} x
 * @param {Number} y
 * @returns {Position}
 */
function Position(x, y) {
	this.x = x;
	this.y = y;
};

/**
 * @public
 * @param {DIRECTION} direction
 * @returns {Position}
 */
Position.prototype.advance = function(direction) {
	return new Position(this.x + direction.xAdvancement, this.y + direction.yAdvancement);
};